Carbon


EraseOval

Header: Quickdraw.h Carbon status: Supported

Erases an oval.

void EraseOval (
    const Rect *r
);
Parameter descriptions
r

The rectangle that defines the oval’s boundary.

DISCUSSION

Using the background pattern for the current graphics port and the patCopy pattern mode, the EraseOval function draws the interior of an oval just inside the bounding rectangle that you specify in the r parameter. This effectively erases the oval bounded by the specified rectangle.

This function leaves the location of the graphics pen unchanged.

SPECIAL CONSIDERATIONS

The EraseOval function may move or purge memory blocks in the application heap; do not call this function at interrupt time.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)